Pure type systems with judgemental equality
نویسنده
چکیده
In a typing system, there are two approaches that may be taken to the notion of equality. One can use some external relation of convertibility defined on the terms of the grammar, such as β-convertibility or βη-convertibility; or one can introduce a judgement form for equality into the rules of the typing system itself. For quite some time, it has been an open problem whether the two systems produced by these two choices are equivalent. This problem is essentially the problem of proving that the Subject Reduction property holds in the system with judgemental equality. In this paper, we shall prove that the equivalence holds for all functional Pure Type Systems (PTSs). The proof essentially consists of proving the Church-Rosser Theorem for a typed version of parallel one-step reduction. This method should generalise easily to many typing systems which satisfy the Uniqueness of Types property.
منابع مشابه
How Intensional is Homotopy Type Theory?
Martin-Löf’s Extensional Type Theory (ETT) has a straighforward semantics in the category Set of sets and functions and actually in any locally cartesian closed category with a natural numbers object (nno), e.g. in any elementary topos with a nno. Dependent products are interpreted by right adjoints to pullback functors and extensional identity types are interpreted as diagonals in slice catego...
متن کاملPure Type System conversion is always typable
Pure Type Systems are usually described in two different ways, one that uses an external notion of computation like beta-reduction, and one that relies on a typed judgment of equality, directly in the typing system. For a long time, the question was open to know whether both presentations described the same theory. A first step towards this equivalence has been made by Adams for a particular cl...
متن کاملInvestigation on the typing of equality in type systems. (Etude sur le typage de l'égalité dans les systèmes de types)
Pure Type Systems are a good way to factorize the questions of meta-theory about a large family of type systems. They have been introduced as a generalization of Barendregt’s λ-cube, an abstraction of several type systems like the Simply Typed λ-Calculus, System F or the Calculus of Constructions. One critical detail of the Pure Type Systems is their conversion rule that allows to do computatio...
متن کاملVariation on Cubical sets
In the model presented in [1, 4] a type is interpreted by a nominal set A equipped with two “face” operations: if u : A and i is a symbol we can form u(i = 0) : A(i = 0) and u(i = 1) : A(i = 1) elements independent of i. The unit interval is represented by the nominal set I, whose elements are 0, 1 and the symbols. Alternatively, we have a presentation as a presheaf category over the category w...
متن کامل2-Dimensional Directed Dependent Type Theory
The groupoid interpretation of dependent type theory given by Hofmann and Streicher associates to each closed type a category whose objects represent the elements of that type and whose maps represent proofs of equality of elements. The categorial structure ensures that equality is reflexive (identity maps) and transitive (closure under composition); the groupoid structure, which demands that e...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Funct. Program.
دوره 16 شماره
صفحات -
تاریخ انتشار 2006